#include "stl.h"
#include "solution.h"

int main(int argc, char *argv[]){
    struct{
        vector<char> tasks;
        int n;
    }tests[]={
        { {'A','A','A','B','B','B'}, 2 }, // 8
        { {'A','A','A','B','B','B'}, 0 }, // 6
        { {'A','A','A','A','A','A','B','C','D','E','F','G'}, 2 }, // 16
    };
    Solution sln;
    for(auto & ts : tests){
        print("\ntasks=", ts.tasks, "\nn=", ts.n, "\n")
        print("ans:", sln.leastInterval(ts.tasks, ts.n), "\n")
    }
    
    print("\n------ main exit ------\n")
    return 0;
}
